package com.itheima.service;

import com.itheima.pojo.ClazzOption;
import com.itheima.pojo.Emp;
import com.itheima.pojo.JobOption;
import com.itheima.pojo.PageResult;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;
import java.util.Map;

public interface EmpService {

    PageResult<Emp> queryEmp(String name, Integer gender, LocalDate begin, LocalDate end, Integer page, Integer pageSize);

    void add(Emp emp) throws Exception;

    void delete(Integer[] ids);

    Emp getById(Integer id);

    void update(Emp emp);

    List<Emp> list();

    JobOption jobData();

    List<Map<String, Object>> empGenderData();

    List<Map<String, Object>> studentDegreeData();

    ClazzOption studentCountData();
}
